// 模拟收藏商品数据
let favoritesData = [
    {
        id: 1,
        title: 'Apple iPhone 15 Pro Max',
        spec: '暗紫色 256GB',
        price: 9999.00,
        image: 'images/product1-1.png',
        date: '2024-03-15',
        stock: 10
    },
    {
        id: 2,
        title: 'Apple iPad Pro',
        spec: '深空灰色 256GB',
        price: 7999.00,
        image: 'images/product1-2.png',
        date: '2024-03-14',
        stock: 5
    },
    {
        id: 3,
        title: 'Apple Watch Series 9',
        spec: '午夜色 GPS 45mm',
        price: 3999.00,
        image: 'images/product1-3.png',
        date: '2024-03-13',
        stock: 8
    }
]; 